package com.ziguang.redwood.websocket.chat;

public class Response {
	public final static int JOIN_RESPONSE = 1;
	public final static int CHAT_RESPONSE = 2;
	public final static int QUIT_RESPONSE = 3;
	public final static int ONlINE_USER_RESPONSE = 3;
	
	
	private int type;
	private String rooms;
	private String body;
	private String sender;
	private String niceName;
	
	public Response()
	{
		
	}
	
	public Response( int type,String rooms,String body,String sender, String niceName)
	{
		this.type = type;
		this.rooms = rooms;
		this.body = body;
		this.sender = sender;
		this.niceName = niceName;
	}
	
	
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getRooms() {
		return rooms;
	}
	public void setRooms(String rooms) {
		this.rooms = rooms;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	public String getSender() {
		return sender;
	}
	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getNiceName() {
		return niceName;
	}

	public void setNiceName(String niceName) {
		this.niceName = niceName;
	}
	
}
